package web.suzy.oj.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * YangSuzy 软件工作室
 * 类名: SysMsgVO
 * 描述: 用户系统消息视图对象
 * 功能: VO (View Object)用于表示一个与前端进行交互的视图对象
 *
 * @author YangSuzy
 * Date: 2022/11/18 11:57
 */
@ApiModel(value = "用户的系统消息")
@Data
public class SysMsgVO {
    private Long id;

    @ApiModelProperty(value = "通知标题")
    private String title;

    @ApiModelProperty(value = "通知内容")
    private String content;

    @ApiModelProperty(value = "发布通知的管理员id")
    private String adminId;

    @ApiModelProperty(value = "消息类型，系统通知Sys、我的信息Mine")
    private String type;

    @ApiModelProperty(value = "是否已读")
    private Boolean state;

    private Date createTime;
}
